export const PAGE_CODE = 'dcs-parts-partInvoiceTrack';
import {PAGE_TEN} from '../constants';
import {partContractInvoiceStatus} from '../Enum';

export const PERMISSION = {
    export: 'export',
    detailExport: 'detailExport',
};
export const DEFAULT_QUERY_OPTION = {
    dealerId: '',
    brandId: '',
    partInvoiceCode: '',
    partSaleOrderCode: '',
    partCode: '',
    partInvoiceStatus: [],
    shipmentType: undefined,
    partShipOrderStatus: undefined,
    partShipNoticeStatus: undefined,
    outboundDate: undefined,
    createTime: undefined,
    pageIndex: PAGE_TEN.index,
    pageSize: PAGE_TEN.size,
};

export const status = partContractInvoiceStatus.pick([
    partContractInvoiceStatus.SAP返回,
    partContractInvoiceStatus.上传SAP,
    partContractInvoiceStatus.发票生成,
    partContractInvoiceStatus.运单生成
]);
